
package com.joysuch.wwyt.datadump.biz.query;

import cn.zlg.common.datadump.condition.QueryCondtionDef;
import cn.zlg.common.datadump.condition.QueryFieldCondition;
import cn.zlg.common.datadump.condition.SortFieldDef;
import com.joysuch.wwyt.bp.entity.inspect.dsl.QBPInspectItem;
import com.joysuch.wwyt.bp.entity.investigate.dsl.QBpInvestigateStoreDetail;
import com.joysuch.wwyt.datadump.biz.condition.BpInvestigateStoreFindSubstoreConditionBuilder;
import com.joysuch.wwyt.util.ApplicationContextHolder;
import com.querydsl.core.types.Order;

public class BpInspectItemDumpQueryBean implements QueryCondtionDef {

    @Override
    public QueryFieldCondition[] getAllConditionDef() {
        QBPInspectItem q = QBPInspectItem.bPInspectItem;
        return new QueryFieldCondition[] {
                new QueryFieldCondition("ids", q, q.id, q.id, "in"),
                new QueryFieldCondition("typeId", q, q.inspectType, q.id, "eq"),
        };
    }

    @Override
    public SortFieldDef[] getAllSortFieldDef() {
        return new SortFieldDef[]{};
    }
}
